package com.jingdianjichi.auth.api;

import com.jingdianjichi.auth.entity.AuthUserDTO;
import com.jingdianjichi.auth.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 用户feign
 * @author 86156
 * @version 1.0
 * @date 2024-11-10 19:47
 */
@FeignClient(name = "jc-club-auth")
public interface UserFeignService {

    /**
     * 获取用户信息详情
     */
    @RequestMapping("/user/getUserInfo")
    public Result<AuthUserDTO> getUserInfo(@RequestBody AuthUserDTO authUserDto);

}
